package com.hzeport.bgs22emduty.outbound.db.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hzeport.bgs22emduty.entity.BaseCustomPhone;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;

@Mapper
public interface BaseCustomPhoneMapper extends BaseMapper<BaseCustomPhone> {

    BaseCustomPhone queryCurRecord(@Param("customsId") String customsId, @Param("sType") String sType,
                                   @Param("curTime") LocalDateTime curTime, @Param("settingMode") String settingMode);

    List<BaseCustomPhone> queryCurRecords(@Param("sType") String sType, @Param("curTime") LocalDateTime curTime,
                                          @Param("settingMode") String settingMode);
}

